MR Algorithm 2